package com.kk.base.constant;

import java.util.Arrays;
import java.util.List;

/**
 * 系统运行时的常量
 * @author Administrator
 *
 */
public class RuntimeConstant {

	//后台登录拦截器无需拦截的url
	public static List<String> loginExcludePathPatterns = Arrays.asList(
			"/home/**",
			"/system/login",
			"/system/auth_order",
			"/admin/css/**",
			"/admin/fonts/**",
			"/admin/js/**",
			"/admin/images/**",
			"/error",
			"/upload/upload_photo",
			"/photo/view",
			"/cpacha/generate_cpacha",
			"/send_email/generate_code",
			"/photo/view",
			"/download/importTemplate",
			"/admin/bootstrap-select/**",
			"/admin/bootstrap-datetimepicker/**"
	);
	//后台权限拦截器无需拦截的url
	public static List<String> authorityExcludePathPatterns = Arrays.asList(
			"/home/**",
			"/system/login",
			"/system/auth_order",
			"/system/index",
			"/system/no_right",
			"/admin/css/**",
			"/admin/fonts/**",
			"/admin/js/**",
			"/admin/images/**",
			"/error",
			"/cpacha/generate_cpacha",
			"/system/logout",
			"/system/update_userinfo",
			"/system/update_pwd",
			"/upload/upload_photo",
			"/send_email/generate_code",
			"/photo/view",
			"/download/importTemplate",
			"/admin/bootstrap-select/**",
			"/admin/branchApplyFor/agree",
			"/admin/branchApplyFor/rejected",
			"/admin/bootstrap-datetimepicker/**",
			"/admin/complaint/accepted"
	);

	//前台登录拦截器无需拦截的url
	public static List<String> homeLoginExcludePathPatterns = Arrays.asList(
			"/admin/**",
			"/home/index/**",
			"/system/auth_order",
			"/home/css/**",
			"/home/fonts/**",
			"/home/js/**",
			"/home/images/**",
			"/system/**",
			"/error",
			"/photo/view",
			"/upload/upload_photo",
			"/cpacha/generate_cpacha",
			"/home/index/login",
			"/home/index/register",
			"/home/index/forget",
			"/home/layui/**",
			"/home/login/**",
			"/send_email/generate_code",
			"/home/import_and_export/**",
			"/home/layui/**",
			"/home/xlsx/**",
			"/home/branch/css/**",
			"/home/branch/js/**",
			"/home/home_index/**"


	);
	//前台全局拦截器无需拦截的url
	public static List<String> homeGlobalExcludePathPatterns = Arrays.asList(
			"/admin/**",
			"/home/index/**",
			"/home/css/**",
			"/home/fonts/**",
			"/home/js/**",
			"/home/images/**",
			"/home/layui/**",
			"/home/login/**",
			"/system/**",
			"/error",
			"/photo/view",
			"/upload/**",
			"/cpacha/generate_cpacha",
			"/home/expressMailOrder/**",
			"/home/index/login",
			"/home/index/register",
			"/home/index/forget",
			"/send_email/generate_code",
			"/home/import_and_export/**",
			"/home/layui/**",
			"/home/xlsx/**",
			"/home/branch/css/**",
			"/home/branch/js/**",
			"/home/home_index/**"
	);
}
